<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="org.json.simple.JSONObject"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@page import="org.json.simple.JSONArray"%>
<%@page import="java.util.Date"%>
<%
	Map schedule2 = new HashMap();
	schedule2.put("id", 	"test1");
	schedule2.put("start", 	"2012-05-06 15:00");
	schedule2.put("end",	"2012-05-06 16:00");
	schedule2.put("title", 	"event2");
	schedule2.put("allDay", false);
	
	Map schedule1 = new HashMap();
	schedule1.put("id", 	"test2");
	schedule1.put("start", 	"2012-05-05 15:00");
	schedule1.put("end",	"2012-05-05 16:00");
	schedule1.put("title", 	"윤송333아 15:10~16:20");
	schedule1.put("allDay", false);
	
	List list = new ArrayList();
	list.add(schedule1);
	list.add(schedule2);
	
	JSONArray jsonArray = new JSONArray();
	out.println(jsonArray.toJSONString(list));
%>